//引入封装的请求服务
import { POST } from '@/services/request.js'

const Category = {
    CateIndex(data = {})
    {
        return POST({
            url:'/category/category/index',
            params:data
        })
    },
    CateInfo(data = {})
    {
        return POST({
            url:'/category/category/info',
            params:data
        })
    },
    CollectionConfirm(data = {})
    {
        return POST({
            url:'/category/category/collection',
            params:data
        })
    },
    CollectionCancel(data = {})
    {
        return POST({
            url:'/category/category/cancel',
            params:data
        })
    }
}

export default Category